go/types.Checker.isValidIndex (method)
4 uses
go/types (current package)
builtins.go#L619: if !check.isValidIndex(&y, _InvalidUnsafeAdd, "length", true) {
builtins.go#L746: if !check.isValidIndex(&y, _InvalidUnsafeSlice, "length", false) {
index.go#L353: if !check.isValidIndex(&x, _InvalidIndex, "index", false) {
index.go#L376: func (check *Checker) isValidIndex(x *operand, code errorCode, what string, allowNegative bool) bool {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)